---
title: Typography
description: Amplify UI provides tokens for font weight, font size and line height, as well as variable and static font families.
supportedFrameworks: react|angular|vue
---

import { Fragment } from '@/components/Fragment';
import { getCustomStaticPath } from '@/utils/getCustomStaticPath';

export async function getStaticPaths() {
  return getCustomStaticPath(frontmatter.supportedFrameworks);
}

{/*  `getStaticProps` is required to prevent "Error: getStaticPaths was added without a getStaticProps. Without getStaticProps, getStaticPaths does nothing" */}

export async function getStaticProps() {
  return { props: {} }
}

<Fragment useCommonWebContent>{({ platform }) => import(`./${platform}.mdx`)}</Fragment>